Manager: Memory Management Utilities



While Carbon supports most of the Memory Management Utilities, there are changes to functions that assume a 68K runtime environment.

* Functions that flush caches on 68K processors (such as FlushInstructionCache, FlushDataCache, and FlushCodeCacheRange) are no longer supported.

* Functions such as SetA5 or SetCurrentA5 do nothing when running in Mac OS X. However, these functions should work normally when running in Mac OS 8.

* The functions GetMMUMode and SwapMMUMode are not supported because all PowerPC applications use 32-bit addressing, even if they are not Carbon–compliant.

* The SysEnvirons function is no longer supported since the Gestalt Manager can provide the same information. You should call the functions FindFolder and Gestalt instead.

Supported  CallDeferredTaskProc

Supported  DeferredTaskProcPtr

Supported  Delay

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  Dequeue

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DisposeDeferredTaskUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DTInstall

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  Enqueue

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  FlushCodeCache

68K-specific.

Unsupported  FlushCodeCacheRange

68K-specific. Not available in Carbon.

Unsupported  FlushDataCache

68K-specific.

Unsupported  FlushInstructionCache

68K-specific. Use MakeDataExecutable on PowerPC machines.

Unsupported  GetMMUMode

Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.

Supported  GetSysPPtr

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  InitUtil

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  InvokeDeferredTaskUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  IsMetric

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  MakeDataExecutable

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  NewDeferredTaskProc

Supported  NewDeferredTaskUPP

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  ReadLocation

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetA5

68K-specific. Does nothing in PowerPC native code. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetCurrentA5

68K-specific. Does nothing in PowerPC native code. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SwapDataCache

Supported  SwapInstructionCache

Supported  SwapMMUMode

Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.

Unsupported  SysEnvirons

Uses working directories. Use FindFolder and Gestalt instead. Not available in Carbon.

Supported  WriteLocation

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  WriteParam

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 5/11/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.